package cn.sangyy.gift.dto;

import cn.sangyy.gift.domain.Employee;
import cn.sangyy.gift.domain.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
public class TenantRegisterDto {
    @NotNull @Valid
    private Tenant tenant;
    @NotNull @Valid
    private Employee admin;
    @NotNull(message = "租户套餐不能为空！")
    private Long mealId;
    @NotNull(message = "租户类型不能为空！")
    private Long typeId;
}